package com.xiaoshuidi.cloud.module.bpm.dal.dataobject.reserveapartmentconfig;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店预约配置
 * </p>
 *
 * @author hans.zhang
 * @since 2023-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reserve_apartment_config")
@Schema(name="ReserveApartmentConfig对象", description="门店预约配置")
public class ReserveApartmentConfig extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "门店id")
    private Long apartmentId;

    @Schema(description = "门店名")
    private String apartmentName;

    @Schema(description = "时间段 1,9:00 - 10:00  2,10:00-11:00 3,11:00-12:00 4,13:30-14:30 5,14:30-15:30 6,15:30-16:30")
    private Integer timePeriod;

    private Integer num;

    @Schema(description = "部门id")
    private Long deptId;
}
